package com.cskaoyan.javase.oop2._1extend._3protected._1two;

import com.cskaoyan.javase.oop2._1extend._3protected._0one.CurrentClazz;

/**
 * @description: 不同包下非子类
 * @author: wuguidong@cskaoyan.onaliyun.com
 **/

public class OtherPackageNoSon {
    public static void main(String[] args) {
        CurrentClazz cc = new CurrentClazz();
        //protected权限在不同包下的,非子类中,不能访问
        //System.out.println(cc.a);
    }
}
